  <?php
  require_once('includes/db.php');

  unset($_POST['submit']);

//pr($_POST);exit;

  $where = "WHERE `id`= $_POST[id]";
  $affected_rows = update('users',$_POST,$where);

  //echo "User Updated :: $affected_rows \n\n";

 header('location:show_all_users.php');
